<ul class="layui-timeline" style="margin-top: 30px; margin-left: 30px;">
    {if !empty($trackInfo.data)}
    {foreach $trackInfo.data as $k => $t}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis {$k == 0 ? 'layui-icon-fire' : 'layui-icon-location'}"></i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">{$t.time}</h3>
            <p>{$t.context}</p>
        </div>
    </li>
    {/foreach}
    {/if}
</ul>